package com.cjst.pojo.part;


import com.cjst.core.FieldName;
import com.cjst.core.TableName;
import com.cjst.modle.base.PoModel;

/**
 * 部件类型
 * @author yj
 *
 */
@TableName(name="t_part_type")
public class PartType extends PoModel{

	private static final long serialVersionUID = 1L;

	@FieldName(name="ptype_name")
    private String ptypeName;				//类型名称

	@FieldName(name="ptype_parent")
    private String ptypeParent;				//父类id

	@FieldName(name="ptype_description")
    private String ptypeDescription;			//描述

	@FieldName(name="type_partition")
    private Integer typePartition;				//类型划分(0类型,1区域,2智能)

	@FieldName(name="ptype_no")
    private String ptypeNo;					//类型编号

	@FieldName(name="main_part_id")
    private String mainPartId;					//主配件id    如果是其他配件附属于改配件

	@FieldName(name="create_by")
    private String createBy;

	@FieldName(name="create_time")
    private String createTime;

	@FieldName(name="update_by")
    private String updateBy;

	@FieldName(name="update_time")
    private String updateTime;

	@FieldName(name="fback")
    private String fback;				//备用字段

	@FieldName(name="del_flag")
    private Integer delFlag;   //是否删除，0否，1是   查询时候需要where.method("delFlag",c.eq,0)  查询未被删除的
	
	@FieldName(name="is_app")
    private Integer isApp;
	
	@FieldName(name="px")
    private Integer px;
	private Integer isParts;
    public String getPtypeName() {
        return ptypeName;
    }

    public void setPtypeName(String ptypeName) {
        this.ptypeName = ptypeName == null ? null : ptypeName.trim();
    }

    public String getPtypeParent() {
        return ptypeParent;
    }

    public void setPtypeParent(String ptypeParent) {
        this.ptypeParent = ptypeParent == null ? null : ptypeParent.trim();
    }

    public String getPtypeDescription() {
        return ptypeDescription;
    }

    public void setPtypeDescription(String ptypeDescription) {
        this.ptypeDescription = ptypeDescription == null ? null : ptypeDescription.trim();
    }

    public Integer getTypePartition() {
        return typePartition;
    }

    public void setTypePartition(Integer typePartition) {
        this.typePartition = typePartition;
    }

    public String getPtypeNo() {
        return ptypeNo;
    }

    public void setPtypeNo(String ptypeNo) {
        this.ptypeNo = ptypeNo == null ? null : ptypeNo.trim();
    }

    public String getMainPartId() {
        return mainPartId;
    }

    public void setMainPartId(String mainPartId) {
        this.mainPartId = mainPartId == null ? null : mainPartId.trim();
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getFback() {
        return fback;
    }

    public void setFback(String fback) {
        this.fback = fback == null ? null : fback.trim();
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

	public Integer getIsApp() {
		return isApp;
	}

	public void setIsApp(Integer isApp) {
		this.isApp = isApp;
	}

	public Integer getPx() {
		return px;
	}

	public void setPx(Integer px) {
		this.px = px;
	}

	public Integer getIsParts() {
		return isParts;
	}

	public void setIsParts(Integer isParts) {
		this.isParts = isParts;
	}
	

}